package org.seedltd.upms.model.detection.entity;

import org.seedltd.core.base.BaseEntityKey;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 产品检测项数据库对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/08/25
 */
@Getter
@Setter
@TableName("detection_product_item")
public class DetectionProductItem extends BaseEntityKey {

    /**
     * 检测项名称
     */
    @TableField(value = "item_name")
    private String itemName;

    /**
     * 异常扣减分数
     */
    @TableField(value = "scope")
    private Integer scope;

    /**
     * 检测项目可选值
     */
    @TableField(value = "item_values")
    private String itemValues;

    /**
     * 排序
     */
    @TableField("sort_no")
    private Integer sortNo;

    /**
     * 启用状态(1启用 0禁用)
     */
    @TableField(value = "enabled")
    private EnableStatus enabled;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}